Skip to content

Fix build-image.yml: pass SearXNG's required flags to create-update-release.py - #22

Merged
kasunben merged 1 commit into
mainfrom
fix/wire-searxng-flags-into-update-candidate-workflow
Aug 22, 2026
Merged

kasunben merged 1 commit into
mainfrom
fix/wire-searxng-flags-into-update-candidate-workflow

Conversation

@kasunben

Copy link
Copy Markdown
Member

Summary

  • create-update-release.py's --searxng-env/--searxng-oci are required=True, but build-image.yml's "Package unsigned appliance update candidate" step was never updated to pass them when SearXNG was wired in — a real workflow_dispatch run with build_update_candidate=true would have failed outright on an argparse error before producing anything
  • Found while preparing to actually trigger a real signed-release qualification build (this is exactly the kind of gap that pass is meant to catch, just caught a step early instead)
  • Adds test_workflow_passes_every_image_component_flag_to_create_update_release, which diffs the script's actual required arguments against the workflow's invocation rather than a hardcoded flag list, so a future fourth component gets the same protection automatically

Test plan

  • Confirmed the new test fails without the fix (reverted the workflow change locally, reran) and passes with it
  • python3 -m unittest discover -s tests -v — 635/635 pass

🤖 Generated with Claude Code

…elease.py

create-update-release.py's --searxng-env/--searxng-oci are required=True,
but the workflow's "Package unsigned appliance update candidate" step
was never updated to pass them when SearXNG was wired in. A real
workflow_dispatch run with build_update_candidate=true would have
failed outright on an argparse error before producing anything -- found
while preparing to actually trigger a real signed-release qualification
build.

Adds a regression test that diffs the script's actual required
arguments against the workflow's invocation, so a future component
gets the same protection automatically instead of relying on someone
remembering to update both places in lockstep.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@kasunben
kasunben marked this pull request as ready for review August 22, 2026 09:14
@kasunben
kasunben merged commit 80a8d6c into main Aug 22, 2026
1 check passed
kasunben added a commit that referenced this pull request Aug 23, 2026
…fication

Closes PR #17's last open test-plan item ("Real signed-release
qualification: artifact/import systemd paths, real hardened sandbox").
A real, signed 0.1.0-preview.25 release -- built by CI, signed offline
by the maintainer -- was staged, tried, and committed on both the
base-OS and appliance layers of the real qualification device, with
llama-server, SearXNG, and the Conversation Service all confirmed
running under their real production systemd units and hardened
DynamicUser sandboxes.

Records the full method, the three real defects found and fixed along
the way (Findings 5-7, all already merged in #22/#23/#24), and two
incidental findings (systemd Requires= pulls backward not forward; a
stale journal file silently stopped logging after the base-OS commit,
self-resolved, not a code defect).

Updates ROADMAP.md's Milestone 4 to Complete and removes now-stale
"not yet achievable" language throughout that section.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant